package fr.webeo.teambuilder.gui;

import javax.swing.JFrame;

/**
 * The class <strong>MainFrame</strong>.
 * 
 * @author Sébastien Bordes
 * @version $Revision$ $Date$ $Name$
 * 
 * @since fr.webeo.teambuilder 1.0
 */
public class MainFrame extends JFrame {

    /**
	 * 
	 */
    private static final long serialVersionUID = -8203195048358957193L;

    /**
     * 
     * @param string
     */
    public MainFrame(String string) {
        super(string);
    }

    /**
     * 
     * @param args
     */
    public static void main(String args[]) {
        JFrame.setDefaultLookAndFeelDecorated(true);
        try {
            // UIManager.setLookAndFeel(new SubstanceLookAndFeel());
            // SubstanceLookAndFeel.setCurrentTheme(new SubstanceAquaTheme());
            // SubstanceLookAndFeel
            // .setCurrentWatermark(new SubstanceCrosshatchWatermark());
            // SubstanceLookAndFeel
            // .setCurrentButtonShaper(new ClassicButtonShaper());
            // SubstanceLookAndFeel
            // .setCurrentGradientPainter(new SpecularGradientPainter());
        } catch (Exception e) {
            e.printStackTrace();
        }

        MainFrame mf = new MainFrame("Team Builder");
        FootPanel f = new FootPanel(true);
        mf.add(f);
        mf.pack();
        mf.setDefaultCloseOperation(3);
        mf.setSize(800, 600);
        mf.setLocationRelativeTo(null);
        mf.setVisible(true);
    }
}
